const routes = [
    {
        path:'/home',//路由路径
        name:'Home',//路由的名称
        component:()=>import('@/views/home.vue')
    },
];

export default routes; //本文件默认导出routes对象